<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><s:text name="context.title"/></title><%@ include file="/common/meta.jsp"%>
<link href="${ctx}/css/default.css" type="text/css" rel="stylesheet" />
<link href="${ctx}/css/default.css" type="text/css" rel="stylesheet" />
<link href="${ctx}/js/validate/jquery.validate.css" type="text/css"	rel="stylesheet" />
<link rel="stylesheet" href="${ctx}/js/jquery-ui.css" type="text/css" media="screen" charset="utf-8" /> 
<script src="${ctx}/js/jquery.js" type="text/javascript"></script>
<script src="${ctx}/js/jquery-ui.js" type="text/javascript" ></script>
<script src="${ctx}/js/ui.datepicker-zh-CN.js" type="text/javascript" ></script>
<script src="${ctx}/js/validate/jquery.validate.js"	type="text/javascript"></script>
<script src="${ctx}/js/validate/messages_cn.js" type="text/javascript"></script>
 <script type="text/javascript" src="${ctx}/js/tree-info-input.js"></script>
</head>
<body>

<p align="center"><s:actionmessage theme="mytheme" cssClass="actionMessage"/></p>

<input type="hidden" id="isD" value="${isDir}"/>
<input type="hidden" id="parend" value="${streeInfo.parentid}"/>
<input type="hidden" id="autName" value="${authority.name}"/>
<form id="inputForm" action="tree-info!editSubmit.action" method="post">
<input type="hidden" name="streeInfo.nodeid" value="${streeInfo.nodeid }" />
<input type="hidden" name="authority.id" value="${authority.id }" />
<input type="hidden" name="streeInfo.icon" value="${streeInfo.icon }" />
<input type="hidden" name="authority.groupId" value="${streeInfo.icon }" />
<input type="hidden" name="authority.supName" value="${authority.supName }"/>
<h1 class="title01"><img src="${ctx}/images/02_15.gif" width="45" height="42" class="fl"/>修改目录树 </h1>
<fieldset class="fs_ys">
		<legend>修改目录树 </legend>
<table class="table_ys_input">
	<tr>
		<th>类型</th>
		<td><input type="radio" name="isDir" value="2" onclick="hiddenUrl()" />目录 <input type="radio" name="isDir" value="1" onclick="showUrl()" checked="checked"/>链接</td>
	</tr>
	<tr>
		<th>标题</th>
		<td><input type="text" name="streeInfo.caption" class="required" value="${streeInfo.caption }"/></td>
	</tr>
	<tr>
		<th>父级分类</th>
		<td><select name="streeInfo.parentid" class="required" id="pant">
				<option value="">请选择父级目录</option>
				<s:iterator value="treeDir" status="x" var="v">
					<option value="<s:property value="#v.nodeid"/>"><s:property value="#v.caption"/></option>
				</s:iterator>
			</select>
		</td>
	</tr>
	<tr id="url">	
		<th>节点路径</th>
		<td><input type="text" name="streeInfo.nodeurl" class="required" value="${streeInfo.nodeurl }"/></td>
	</tr>
	<tr id="auCode">
		<th>权限代码</th>
		<td><input type="text" name="authority.name" class="required" size="18" value="${authority.name }"/></td>
	</tr>
</table>
<p align="center"><input type="submit" value=" 提 交 " onclick="return sub()"/>  <input type="button" value=" 取 消 " onclick="document.URL='tree-info.action'"/></p>
</fieldset>
<s:token />
</form>
</body>


</html>